<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>ckplayer简单调用演示</title>

</head>

<body>
<!--<div id="a1"></div>-->

<!--<script type="text/javascript" src="ckplayer/ckplayer.js" charset="utf-8"></script>-->
<!--<script type="text/javascript">-->
    <!--var flashvars = {-->
        <!--f: 'http://img.ksbbs.com/asset/Mon_1605/0ec8cc80112a2d6.mp4',-->
        <!--c: 0,-->
        <!--b: 1,-->
        <!--i: 'http://www.ckplayer.com/static/images/cqdw.jpg'-->
    <!--};-->
    <!--var params = {bgcolor: '#FFF', allowFullScreen: true, allowScriptAccess: 'always', wmode: 'transparent'};-->
    <!--CKobject.embedSWF('ckplayer/ckplayer.swf', 'a1', 'ckplayer_a1', '600', '400', flashvars, params);-->
    <!--/*-->
    <!--CKobject.embedSWF(播放器路径,容器id,播放器id/name,播放器宽,播放器高,flashvars的值,其它定义也可省略);-->
    <!--下面三行是调用html5播放器用到的-->
    <!--*/-->
    <!--var video = ['http://img.ksbbs.com/asset/Mon_1605/0ec8cc80112a2d6.mp4->video/mp4'];-->
    <!--var support = ['iPad', 'iPhone', 'ios', 'android+false', 'msie10+false'];-->
    <!--CKobject.embedHTML5('a1', 'ckplayer_a1', 600, 400, video, flashvars, support);-->


    <!--function closelights() {//关灯-->
        <!--alert(' 本演示不支持开关灯');-->
    <!--}-->

    <!--function openlights() {//开灯-->
        <!--alert(' 本演示不支持开关灯');-->
    <!--}-->
<!--</script>-->


<h1>mp4视频播放</h1>
<div id="a1"></div>
<script type="text/javascript" src="ckplayer/ckplayer.js" charset="utf-8"></script>
<script type="text/javascript">
    var flashvars={
        f:'http://img.ksbbs.com/asset/Mon_1605/0ec8cc80112a2d6.mp4',
        c:0
    };
    var video=['http://img.ksbbs.com/asset/Mon_1605/0ec8cc80112a2d6.mp4->video/mp4'];
    CKobject.embed('ckplayer/ckplayer.swf','a1','ckplayer_a1','600','400',false,flashvars,video);
</script>


<h1>m3u8视频播放</h1>
<div id="a2"></div>
<script type="text/javascript" src="ckplayer/ckplayer.js" charset="utf-8"></script>
<script type="text/javascript">
    var flashvars={
        f:'ckplayer/m3u8/m3u8.swf',
        a:'http://119.60.8.230:10088/EasyTrans/Data/cc153d43-17d5-4de7-8ec3-318ed65724f6/video.m3u8',
        s:4,
        c:0
    };
    var params={bgcolor:'#FFF',allowFullScreen:true,allowScriptAccess:'always',wmode:'transparent'};
    var video=['http://119.60.8.230:10088/EasyTrans/Data/cc153d43-17d5-4de7-8ec3-318ed65724f6/video.m3u8\n'];
    CKobject.embed('ckplayer/ckplayer.swf','a2','ckplayer_a1','600','400',false,flashvars,video,params);
</script>

<h1>rtmp视频播放</h1>
<div id="a3"></div>
<script type="text/javascript" src="ckplayer/ckplayer.js" charset="utf-8"></script>
<script type="text/javascript">
    var flashvars={
        f:'rtmp://124.133.52.148:8077|part2/20130606/0/0_iglum33o_0_s0rm18qo_1.mp4',
        c:0,
        p:1
    };
    var params={bgcolor:'#FFF',allowFullScreen:true,allowScriptAccess:'always',wmode:'transparent'};
    CKobject.embedSWF('ckplayer/ckplayer.swf','a3','ckplayer_a1','600','400',flashvars,params);
</script>



















</body>
</html>
